package com.bootdo.market.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.market.dao.PlatformStatisticsDataDao;
import com.bootdo.market.domain.PlatformStatisticsDataDO;
import com.bootdo.market.service.PlatformStatisticsDataService;



@Service
public class PlatformStatisticsDataServiceImpl implements PlatformStatisticsDataService {
	@Autowired
	private PlatformStatisticsDataDao platformStatisticsDataDao;
	
	@Override
	public PlatformStatisticsDataDO get(Integer id){
		return platformStatisticsDataDao.get(id);
	}
	
	@Override
	public List<PlatformStatisticsDataDO> list(Map<String, Object> map){
		return platformStatisticsDataDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return platformStatisticsDataDao.count(map);
	}
	
	@Override
	public int save(PlatformStatisticsDataDO platformStatisticsData){
		return platformStatisticsDataDao.save(platformStatisticsData);
	}
	
	@Override
	public int update(PlatformStatisticsDataDO platformStatisticsData){
		return platformStatisticsDataDao.update(platformStatisticsData);
	}
	
	@Override
	public int remove(Integer id){
		return platformStatisticsDataDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return platformStatisticsDataDao.batchRemove(ids);
	}
	
}
